package xjutils

import (
	"fmt"
	"strconv"
)

func Float64Round(value float64, scale int) float64 {
	value, _ = strconv.ParseFloat(fmt.Sprintf("%."+strconv.Itoa(scale)+"f", value), 64)
	return value
}
